//提交响应信息
function doReply(){
	var strMsg1 = getLanMsg("0ec22213-000016");
	var strMsg2 = getLanMsg("0ec22213-000017");
	var strMsg3 = getLanMsg("0ec22213-000018");
	if(projStatus != "2"){
		showMsg(strMsg1);
		return;
	}
	if(cfmPsn != null && cfmPsn != ""){
		showMsg(strMsg2);
		return;
	}
	if(isClientCa == "true"){
		//证书SN
		var strSn = getSN(strUserCode);
		if(strSn == null || strSn == ""){
			showMsg(strMsg3);
			return;
		}
		document.replyform.casn.value = strSn;
		//方案主键|发布类单据主键|供应商对应用户主键
		var strSignData = pkRegB + "|" + strUserId;
		//签名
		document.replyform.signature.value = signmessage(strSignData,strUserCode);
	}
	document.replyform.action = ebvpContext +"/sourcing/biddingprojlist/confirmreg";
	document.replyform.submit();
}

//打开开启环节对应的发布类环节页面
function openReleaseStep(pkProj,pkProjStep){
	var strUrl = "/ebvp/sourcing/biddingprojlist/releasepurfileinfo?pkProj="+pkProj+"&pkProjStep="+pkProjStep+"&readonly=readOnly";
	if(strUrl != null){
		window.open(strUrl);
	}
}
//提交响应信息
var showMsg = function(msg){
	document.getElementById('show_msg').innerHTML = msg;
}